package com.zh.device.dao;

import com.zh.device.domain.DeviceBindingDO;

import java.util.List;
import java.util.Map;

import com.zh.device.domain.DeviceBindingDOVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author madara
 * @email 54925881@qq.com
 * @date 2019-07-24 12:35:13
 */
@Mapper
public interface DeviceBindingDao {

	DeviceBindingDO get(Integer id);
	
	List<DeviceBindingDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(DeviceBindingDO deviceBinding);
	
	int update(DeviceBindingDO deviceBinding);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 设备绑定列表
	 */
	List<DeviceBindingDOVO> equipmentList(Map<String, Object> map);


	int   equipmentCount(Map<String, Object> map);
}
